<template>
  <div>
    <div class="block">
      <el-cascader
        class="box1"
        placeholder="可搜索"
        :options="options"
        filterable
        clearable
        :separator="showMode ? showMode : '/'"
      ></el-cascader>
    </div>
  </div>
</template>
  
  <script>
// npm install element-china-area-data -S
import { regionData } from "element-china-area-data";
export default {
  name: "regionControl",
  props:{
    // fieldid,name,type
    value: "",
    showMode: {
      type: String,
      default:''
    },
  },
  data() {
    return {
      options: regionData,
    };
  },
};
</script>
  <style scoped>
.box1 {
  width: 300px;
}
</style>
  